// samsting : this file is auto create.

#include "Slb/2014-05-15/StopLoadBalancerListenerRequest.h"

namespace aliyun { namespace Slb {

StopLoadBalancerListenerRequest::StopLoadBalancerListenerRequest() : RpcAcsRequest("Slb", "2014-05-15", "StopLoadBalancerListener") {
}

int64 StopLoadBalancerListenerRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void StopLoadBalancerListenerRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& StopLoadBalancerListenerRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void StopLoadBalancerListenerRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 StopLoadBalancerListenerRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void StopLoadBalancerListenerRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& StopLoadBalancerListenerRequest::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}
void StopLoadBalancerListenerRequest::SetLoadBalancerId(const string& LoadBalancerId) {
  LoadBalancerId_ = LoadBalancerId;
  PutQueryParameter("LoadBalancerId", LoadBalancerId_);
}

int StopLoadBalancerListenerRequest::GetListenerPort(void) const {
  return ListenerPort_;
}
bool StopLoadBalancerListenerRequest::SetListenerPort(int ListenerPort) {
  if(ListenerPort < 1) {
    return false;
  }
  if(ListenerPort > 65535) {
    return false;
  }
  ListenerPort_ = ListenerPort;
  PutQueryParameter("ListenerPort", string_ValueOfInt(ListenerPort_));
  return true;
}

const string& StopLoadBalancerListenerRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void StopLoadBalancerListenerRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Slb {

// end of file 
